package com.jianglin.service;

import com.github.pagehelper.PageInfo;
import com.jianglin.model.PropertyInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface IPropertyInfoService{
    PageInfo<PropertyInfo> findPropertyInfoAll(int page, int pagesise, PropertyInfo propertyInfo);
    void deleteInfoByHouIdAndTime(Integer houId, Date endTime);
    PageInfo<PropertyInfo> findListByPage(Integer page, Integer pageCount);
    int add(PropertyInfo propertyInfo);
    int delete(Long id);
//    int updateData(PropertyInfo propertyInfo);

    int updateStatus(Long id, Integer status);

    PropertyInfo findById(Long id);
}
